home *** CD-ROM | disk | FTP | other *** search
- As you can see, it is much easier to type NONCOM than
- it is to type the command shown in the batch file. If
- you like the wide format, substitute DIR/W | FIND/V..
-
- Want a quick way to format files? Try this processing
- file TO SAVE you time and effort:
- >COPY CON:MAKESYS.BAT
- REM PLACE A BLANK DISK IN FLOPPY DRIVE A
- PAUSE
- FORMAT.A:/S/V
- This will format SYS disks with a label. Variation on
- this: FORMAT A:/S or MAKEDAT.BAT=FORMAT A:(data disk).
-
- This next batch file could be used where several user
- access is required. For example, a fixed or hard disk
- situation, several users, each user having his or her
- own directory. Each user enters his or her name when
- executing the batch file.The batch file then compares
- this name against others and takes appropriate action.
- The %1 is a replaceable parameter. The IF & GOTO cmds.
- are used to transfer control to different places thru-
- out the file during the course of operation. You will
- be covering all of that later, plus you have the.HLPs!